<div class="panel panel-default panel-intro">
    {:build_heading('recruit/recruit/index')}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add,edit,del')}
                        <!-- <div class="dropdown btn-group {:$auth->check('ad/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div> -->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover" 
                           data-operate-edit="{:$auth->check('recruit/recruit/edit')}" 
                           data-operate-del="{:$auth->check('recruit/recruit/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
				
<script id="customformtpl" type="text/html">
    <form action="" class="form-commonsearch">
        <div style="border-radius:2px;padding:0px;">
            <div class="row">
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>ID:</label>
						<div class="control-label col-xs-8">
                        	<!--隐式的operate操作符，必须携带一个class为operate隐藏的文本框,且它的data-name="字段",值为操作符-->
                        	<input class="operate" type="hidden" data-name="recruit_id" value="="/>
                        	<input class="form-control" type="text" name="recruit_id" placeholder="请输入查找的ID" value=""/>
						</div>
                    </div>
                </div>               
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>标题:</label>
						<div class="control-label col-xs-8">
                        	<!--隐式的operate操作符，必须携带一个class为operate隐藏的文本框,且它的data-name="字段",值为操作符-->
                        	<input class="operate" type="hidden" data-name="recruit_title" value="like"/>
                        	<input class="form-control" type="text" name="recruit_title" placeholder="请输入查找的标题" value=""/>
						</div>
                    </div>
                </div>               
				<div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>状态:</label>
						<div class="control-label col-xs-8">
                        	<input type="hidden" class="operate" data-name="status" value="="/>
                        	<!--给select一个固定的高度-->
                        	<select id="c-flag" class="form-control selectpicker" name="status" style="height:31px;">
                            	<option value="">选择</option>
                            	<option value="wait">未开始</option>
                            	<option value="doing">进行中</option>
                            	<option value="end">已结束</option>
                        	</select>
						</div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label col-xs-2"></label>
                        <div class="row">
                            <div class="col-xs-3">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                            <div class="col-xs-3">
                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>